home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Telnet 2.6.1d1 4⁄26⁄94 Folder / source / vr / vr.h < prev    next >
Text File  |  1993-09-01  |  925b  |  41 lines

  1. #ifndef    __VRDEFS__
  2. #define __VRDEFS__
  3.  
  4. /*    saved arg values in parser */
  5. union arg {
  6.     short    a_num;                /* integer number */
  7.     char    a_ptr[100];            /* string pointer */
  8. };
  9.  
  10. typedef    struct VRwin VRW;
  11. typedef    struct RRwin RRW;
  12.  
  13. struct RRwin {
  14.     short device;                /* Device Number */
  15.     short wn;                    /* Window Number */
  16. };
  17.  
  18. /*    format of a window entry */
  19. struct VRwin {
  20.     char    w_name[100];        /* window's name, assigned on creation */
  21.     char    w_used;                /* flag - is this name an old duplicate? */
  22.     short    w_left;                /* left edge */
  23.     short    w_top;                /* top edge */
  24.     short    w_width;            /* width */
  25.     short    w_height;            /* height */
  26.     short    w_display;            /* hardware display number of window */
  27.     RRW        w_rr;                /* machine dep info for window */
  28.     VRW        *w_next;            /* next pointer */
  29. };
  30.  
  31. /*    variables for linked list management */
  32.  
  33. #ifdef MASTERDEF
  34. struct VRwin VRhead;
  35. #else
  36. extern struct VRwin VRhead;
  37. #endif
  38.  
  39. #include "vr.proto.h"
  40.  
  41. #endif    // __VRDEFS__